<template>
	<qh-page-view title="我的订单">
		<order-list ref="orderRef"></order-list>
	</qh-page-view>
</template>

<script>
	export default {
		/**
		 * 生命周期函数--监听页面加载
		 */
		onLoad(options) {
			this.$nextTick(() => {
				this.$refs.orderRef.onLoads(options);
			})
		},
		/**
		 * 生命周期函数--监听页面显示
		 */
		async onShow() {
			this.$nextTick(() => {
				this.$refs.orderRef.onShows();
			})
		},
		onShareAppMessage(res) {
			return {
				title: '我的订单',
				path: '/pages/mer/order/list/list',
			};
		},
	};
</script>
